#pragma once

#include "CmdHandler3.h"

class Triangles;
class PointHandler;

class PlaneHandler : public CmdHandler3
{
	Q_OBJECT
public:
	Q_INVOKABLE PlaneHandler();
	~PlaneHandler();

	virtual void input(const QVariant& data, const QString& rawInput, CommandSource cs) override;
private:
	std::shared_ptr<Triangles> m_plane;
	std::shared_ptr<PointHandler> m_pointStateMachine;
};
